﻿using CommonType;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S_Gridding.Domains.BasicData
{
    /// <summary>
    /// 事件类型表   SqlSugar表创建
    /// </summary>
    [SugarTable("AssemTypeInfo")]
    public class AssemTypeInfo: BaceEntity
    {
        /// <summary>
        /// 事件类型编号  主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int AssemTypeId { get; set; }

        /// <summary>
        /// 事件类型编号
        /// </summary>
        [SugarColumn(ColumnDescription = "部件类型编号", Length = 200, IsNullable = true)]
        public string AssemTypeNum { get; set; }

        /// <summary>
        /// 部件类型名称
        /// </summary>
        [SugarColumn(ColumnDescription = "部件类型名称", Length = 200, IsNullable = true)]
        public string AssemTypeName { get; set; }

        /// <summary>
        /// 部件类型
        /// </summary>
        [SugarColumn(ColumnDescription = "部件类型", Length = 200, IsNullable = true)]
        public string AssemType { get; set; }

        /// <summary>
        /// 父级编号
        /// </summary>
        public int Pid { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [SugarColumn(ColumnDescription = "描述", Length = 200, IsNullable = true)]
        public string AssemTypeDesc { get; set; }
    }
}
